package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 数据填报-数据
 */
@Data
@ToString
@TableName("ecp_tt_data_filling_data")
@EqualsAndHashCode(callSuper = true)
public class DataFillingDataEntity extends BaseTenantEntity {

    /**
     * 数据填报id
     */
    private String dataFillingId;

    /**
     * 活动碳排id
     */
    private String activityCarbonEmissionId;

    /**
     * 数据时间
     */
    private LocalDateTime solidifyDate;

    /**
     * 所属项目
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

    /**
     * 楼栋ID
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneEdificeId;

    /**
     * 楼层ID
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneFloorId;

    /**
     * 空间Id
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneRoomId;

    /**
     * 能耗类型id
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String energyConsumptionTypeId;

    /**
     * 碳排放量
     */
    private BigDecimal carbonEmission;
}
